package com.wps.wdztv6.common;

import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

public class Err {

    @Data
    @Builder
    @EqualsAndHashCode
    public static class BusinessException extends RuntimeException {
        private String code;
        private String msg;
    }

    @Data
    @Builder
    public static class BusinessExceptionOut {
        private String code;
        private String msg;
    }

}
